package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2023/7/10 11:38
 * @Describe    :
 */
@Parcelize
class ReturnProgressResponse(

    var total: Int = 0,
    var isReturn: Boolean = false,
    val list: ArrayList<ListData> = arrayListOf()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = list == null || (list as List<*>).isEmpty()

    @Parcelize
    class ListData(

        var status: Int = 0,//2未审核1审核通过7退款完成3申请驳回
        var editTime: String = "",
        var reason: String = "",

        ) : Parcelable
}